home *** CD-ROM | disk | FTP | other *** search
/ Super Shareware Collection / Super Shareware Collection.iso / info / ms_txt.zip / PD0470.TXT < prev    next >
Text File  |  1994-02-18  |  29KB  |  683 lines

  1. ======================================================================
  2.   Microsoft(R) Product Support Services Application Note (Text File)
  3.           PD0470: SYSTEM FAILS WHEN YOU ARE USING EMM386.EXE
  4. ======================================================================
  5.                                                   Revision Date: 11/93
  6.                                                       No Disk Included
  7.  
  8. The following information applies to Microsoft MS-DOS, versions 5
  9. Upgrade, 6 Upgrade, and 6.2 Upgrade.
  10.  
  11. -----------------------------------------------------------------------
  12. | INFORMATION PROVIDED IN THIS DOCUMENT AND ANY SOFTWARE THAT MAY     |
  13. | ACCOMPANY THIS DOCUMENT (collectively referred to as an Application |
  14. | Note) IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER      |
  15. | EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED      |
  16. | WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR       |
  17. | PURPOSE. The user assumes the entire risk as to the accuracy and    |
  18. | the use of this Application Note. This Application Note may be      |
  19. | copied and distributed subject to the following conditions:  1) All |
  20. | text must be copied without modification and all pages must be      |
  21. | included;  2) If software is included, all files on the disk(s)     |
  22. | must be copied without modification (the MS-DOS utility diskcopy is |
  23. | appropriate for this purpose);  3) All components of this           |
  24. | Application Note must be distributed together;  and  4) This        |
  25. | Application Note may not be distributed for profit.                 |
  26. |                                                                     |
  27. | Copyright (C) 1991-1993 Microsoft Corporation. All Rights Reserved. |
  28. | Microsoft and MS-DOS are registered trademarks and Windows is a     |
  29. | trademark of Microsoft Corporation.                                 |
  30. | Adaptec is a trademark of Adaptec, Inc.                             |
  31. | 386MAX and Qualitas are registered trademarks of Qualitas, Inc.     |
  32. | Qemm is a trademark of Quarterdeck Office Systems.                  |
  33. |---------------------------------------------------------------------|
  34.                                    
  35.                                    
  36.                              INTRODUCTION
  37.                              ============
  38.  
  39. This Application Note discusses the symptoms associated with your
  40. system failing when you use EMM386.EXE, the cause of this problem, and
  41. how to correct this behavior. This information applies to MS-DOS 5
  42. Upgrade, MS-DOS 6 Upgrade, and MS-DOS 6.2 Upgrade.
  43.                                    
  44.                                    
  45.                                SYMPTOMS
  46.                                ========
  47.  
  48. After you install EMM386.EXE, your computer stops responding (hangs).
  49. This occurs when you first start your computer, when network drivers
  50. load, when applications start, or when you press CTRL+ALT+DEL.
  51.                                    
  52.                                    
  53.                                  CAUSE
  54.                                  =====
  55.  
  56. There are several reasons why your computer might hang when you are
  57. using EMM386.EXE:
  58.  
  59.  - Your hardware may not support EMM386.EXE.
  60.  - You may be using a memory manager that conflicts with EMM386.EXE.
  61.  - If you have an Adaptec(TM) controller card, it may require a device
  62.    driver to work with EMM386.EXE.
  63.  - You may not be using the correct version of the HIMEM.SYS or
  64.    EMM386.EXE file.
  65.  - HIMEM.SYS or EMM386.EXE may not be functioning properly.
  66.  - A program or device driver may not be able to function in upper
  67.    memory.
  68.  - Your disk-caching program may need to be loaded into conventional
  69.    memory to work with EMM386.EXE.
  70.  - Another program or device driver and EMM386.EXE may be using the
  71.    same memory.
  72.                                    
  73.                                    
  74.                                SOLUTION
  75.                                ========
  76.  
  77. First, create an MS-DOS Startup disk with your original configuration.
  78. If you have any problems starting your computer, you can restore your
  79. original configuration by starting your system (that is, booting) from
  80. this disk.
  81.  
  82. Insert a formatted floppy disk in drive A and type the following at
  83. the MS-DOS command prompt, pressing ENTER after each line:
  84.  
  85.    sys c: a:
  86.    copy c:\autoexec.bat a:\
  87.    copy c:\config.sys a:\
  88.  
  89. Perform the following procedures in order. You may have to try several
  90. of them before one solves the problem.
  91.  
  92. MAKE SURE YOUR HARDWARE SUPPORTS EMM386.EXE
  93. ===========================================
  94.    
  95. You can only use EMM386.EXE on a computer that has an 80386 or higher
  96. processor. If you aren't sure what kind of processor your computer
  97. has, check your documentation. If you do not have a computer with an
  98. 80386 or higher processor, you may want to consider purchasing an
  99. expanded-memory board or an 80286 expanded-memory emulator. You should
  100. contact your hardware vendor to determine the type of memory support
  101. your hardware provides and what kind of additional hardware and
  102. software is compatible with your computer.
  103.  
  104. MAKE SURE YOUR MEMORY MANAGER DOESN'T CONFLICT WITH EMM386.EXE
  105. ==============================================================
  106.  
  107. Check to see if you are loading another expanded-memory manager in
  108. your CONFIG.SYS file. If you want to use another 80386 memory manager,
  109. such as Quarterdeck Qemm(TM)-386 or Qualitas(R) 386MAX(R), do not use
  110. EMM386.EXE. Most 80386 memory managers have 386 or EMM in their
  111. filename. You can see if you are loading any memory managers by typing
  112. the following at the MS-DOS command prompt and pressing ENTER:
  113.  
  114.    type c:\config.sys | more
  115.  
  116. MAKE SURE YOUR ADAPTER CONTROLLED CARD
  117. ======================================
  118. HAS A DEVICE DRIVER THAT WORKS WITH EMM386.EXE
  119. ==============================================
  120.    
  121. If you have an Adaptec controller card, you may not be able to use
  122. EMM386.EXE unless you have the ADAPTEC.SYS device driver. Contact
  123. Adaptec or Microsoft Product Support Services to obtain this driver.
  124.  
  125. MAKE SURE THAT YOU ARE USING THE CORRECT VERSION
  126. ================================================
  127. OF THE HIMEM.SYS OR EMM386.EXE FILE
  128. ===================================
  129.    
  130. EMM386.EXE uses HIMEM.SYS to access extended memory. To check whether
  131. you have the most current versions of these files, do the following:
  132.  
  133.   NOTE: If you used the MS-DOS 6.0 or 6.2 MemMaker program to
  134.   configure your memory, you do not need to follow this procedure
  135.   because MemMaker makes sure that the correct files are in place.
  136.  
  137. 1. Make sure you are in the root directory of your startup drive by
  138.    typing the following at the MS-DOS command prompt and pressing
  139.    ENTER after each line:
  140.  
  141.       c:
  142.       cd\
  143.  
  144. 2. At the MS-DOS command prompt, type the following and press ENTER
  145.  
  146.       dir /s himem.sys
  147.    
  148.    and then type the following and press ENTER:
  149.       
  150.       dir /s emm386.exe
  151.  
  152. 3. MS-DOS displays the name of each subdirectory that contains a copy
  153.    of the file you specified, as well as the file size and date. Make
  154.    a note of which directory contains the file with the latest date,
  155.    and note the file date.
  156.  
  157. 4. Check your CONFIG.SYS file by typing the following at the MS-DOS
  158.    command prompt and pressing ENTER:
  159.  
  160.       type c:\config.sys | more
  161.       
  162. 5. Look for the two device commands that load HIMEM.SYS and
  163.    EMM386.EXE. They should appear similar to the lines below and may
  164.    have other parameters following them:
  165.  
  166.       device=<drive>:\<directory>\himem.sys
  167.       device=<drive>:\<directory>\emm386.exe
  168.    
  169.    where <drive> is your hard disk drive and <directory> is the
  170.    directory where HIMEM.SYS and EMM386.EXE reside. For example, if
  171.    your hard disk drive is drive C and your HIMEM.SYS and EMM386.EXE
  172.    files are located in the DOS directory, the device commands should
  173.    look similar to the following:
  174.    
  175.       device=c:\dos\himem.sys
  176.       device=c:\dos\emm386.exe
  177.    
  178. 6. Make sure these device commands specify the files with the latest
  179.    dates that you identified in step 3. If the device commands do not
  180.    specify the files with the latest dates, follow these steps:
  181.  
  182.    a. Use a text editor to edit the CONFIG.SYS file on your startup
  183.       drive. If you want to use MS-DOS Editor, type the following at
  184.       the MS-DOS command prompt and press ENTER:
  185.          
  186.          edit c:\config.sys
  187.    
  188.    b. Edit the device commands so both show the most recent version of
  189.       HIMEM.SYS and EMM386.EXE.
  190.    
  191.        NOTE: Both files should have the same date. If they don't,
  192.        proceed to step 8.
  193.    
  194.    c. Save the CONFIG.SYS file. If you're using MS-DOS Editor, choose
  195.       Exit from the File menu. When MS-DOS Editor displays a dialog
  196.       box prompting you to save your file, choose the Yes button or
  197.       press ENTER.
  198.    
  199. 7. If the file dates are later than 04-09-91, you have the most recent
  200.    version of these files. If you had to make any of the preceding
  201.    changes, restart your computer by pressing CTRL+ALT+DEL. If the
  202.    problem still exists after you restart your computer, skip to the
  203.    next procedure.
  204.  
  205. 8. If the date for the most recent version of HIMEM.SYS or EMM386.EXE
  206.    is earlier than 04-09-91, you probably have old versions of the
  207.    files. If you have an old version of either file, you need to
  208.    transfer the correct version from the MS-DOS installation disks to
  209.    the directory named in your CONFIG.SYS file. HIMEM.SYS and
  210.    EMM386.EXE are located on the following MS-DOS installation disks:
  211.  
  212.    MS-DOS Version and Disk Size               HIMEM.SYS   EMM386.EXE
  213. -----------------------------------------------------------------------
  214.    MS-DOS 5 Upgrade, 5.25-inch (1.2 MB)       Disk 6      Disk 6
  215.    MS-DOS 5.0a Upgrade, 5.25-inch (1.2 MB)    Disk 1      Disk 1
  216.    MS-DOS 5.0a Upgrade, 3.5-inch (1.44 MB)    Disk 1      Disk 6
  217.    MS-DOS 6 Upgrade, 5.25-inch (1.2 MB)       Disk 2      Disk 4
  218.    MS-DOS 6 Upgrade, 3.5-inch (1.44 MB)       Disk 1      Disk 3
  219.    MS-DOS 6.2 Upgrade, 5.25-inch (1.2 MB)     Disk 2      Disk 2
  220.    MS-DOS 6.2 Upgrade, 3.5-inch (1.44 MB)     Disk 1      Disk 2
  221.    
  222.    a. Insert the appropriate MS-DOS installation disk in your floppy
  223.       disk drive.
  224.    
  225.    b. Use the EXPAND command to expand and copy the HIMEM.SY_ file
  226.       from your installation disk to the directory specified in your
  227.       CONFIG.SYS file. You can do this by typing the following at the
  228.       MS-DOS command prompt and pressing ENTER:
  229.    
  230.          expand a:\himem.sy_ c:\dos\himem.sys
  231.  
  232.       Similarly, to expand and copy EMM386.EX_ from the installation
  233.       disk in drive A to the DOS directory on drive C, type the
  234.       following:
  235.       
  236.          expand a:\emm386.ex_ c:\dos\emm386.exe
  237.  
  238.        NOTE: Make sure you specify the same destination directory that
  239.        you found in step 5 for HIMEM.SYS and EMM386.EXE.
  240.       
  241.    c. Restart your computer by pressing CTRL+ALT+DEL. If the problem
  242.       still exists after you restart your computer, follow the next
  243.       procedure.
  244.  
  245. MAKE SURE HIMEM.SYS AND EMM386.EXE ARE FUNCTIONING PROPERLY
  246. ===========================================================
  247.  
  248. The following procedure helps you determine what is causing your
  249. problem: HIMEM.SYS, EMM386.EXE, or your hardware.
  250.  
  251. 1. Create a disk to test HIMEM.SYS and EMM386.EXE by doing the
  252.    following:
  253.  
  254.    a. Insert a formatted floppy disk in drive A, type the following at
  255.       the MS-DOS command prompt, and press ENTER:
  256.    
  257.          sys c: a:
  258.    
  259.    b. Copy the CONFIG.SYS file from your startup drive to the floppy
  260.       disk in drive A by typing the following command at the MS-DOS
  261.       command prompt and pressing ENTER:
  262.    
  263.          copy c:\config.sys a:
  264.       
  265.    c. Use a text editor to edit the test CONFIG.SYS file. If you want
  266.       to use MS-DOS Editor, type the following at the MS-DOS command
  267.       prompt and press ENTER:
  268.    
  269.          edit a:\config.sys
  270.    
  271.    d. Remove all the lines in the file except the device commands
  272.       loading HIMEM.SYS and EMM386.EXE.
  273.    
  274.    e. If you have MS-DOS 5.0, change the device command that loads
  275.       EMM386.EXE to resemble the following:
  276.    
  277.          device=c:\dos\emm386.exe noems x=a000-efff nomovexbda
  278.        
  279.        NOTE: The letter a is followed by three zeros (000).
  280.    
  281.       If your computer hangs when you press CTRL+ALT+DEL in step 2,
  282.       change the device command to resemble the following:
  283.    
  284.       device=c:\dos\emm386.exe noems x=a000-efff nomovexbda altboot
  285.    
  286.    f. Save the test CONFIG.SYS file. If you're using MS-DOS Editor,
  287.       choose Exit from the File menu. When MS-DOS Editor displays a
  288.       dialog box prompting you to save your file, choose the Yes
  289.       button or press ENTER.
  290.    
  291.    g. Create a new AUTOEXEC.BAT file on the test disk for testing
  292.       purposes. If you are using MS-DOS Editor, you can do this by
  293.       typing the following at the MS-DOS command prompt and pressing
  294.       ENTER:
  295.    
  296.          edit a:\autoexec.bat
  297.    
  298.    h. Type the following command lines in the new file:
  299.    
  300.          path=c:\dos
  301.          prompt $p$g
  302.    
  303.    i. Save the test AUTOEXEC.BAT file by choosing Exit from the File
  304.       menu. When MS-DOS Editor displays a dialog box prompting you to
  305.       save your file, choose the Yes button or press ENTER.
  306.    
  307.    You now have a test disk with which to test HIMEM.SYS and
  308.    EMM386.EXE. Your original AUTOEXEC.BAT and CONFIG.SYS files are
  309.    still on your startup drive (usually drive C) and have not been
  310.    changed.
  311.  
  312. 2. Make sure your test disk is in drive A and restart your computer by
  313.    pressing CTRL+ALT+DEL.
  314.    
  315. 3. If your computer hangs, refer to step 1e if you have MS-DOS 5.0;
  316.    otherwise, continue to the next step. If your computer works
  317.    properly at this point, HIMEM.SYS is working with EMM386.EXE. (Note
  318.    that some devices, such as your mouse, will not operate during
  319.    testing due to the test configuration you are using.) You can now
  320.    check if any other programs conflict with EMM386.EXE. Skip the
  321.    following step and continue to the next procedure.
  322.  
  323. 4. If your computer hangs when you used the test disk in drive A, you
  324.    may have a problem with HIMEM.SYS or your particular hardware.
  325.    Contact Microsoft Product Support Services for help in solving your
  326.    problem.
  327.  
  328. DETERMINE IF YOUR DISK-CACHING PROGRAM
  329. ======================================
  330. NEEDS TO BE LOADED INTO CONVENTIONAL MEMORY
  331. ===========================================
  332.  
  333. Sometimes loading SMARTDrive into conventional memory solves problems
  334. with EMM386.EXE. If you use another disk-caching program, remove it
  335. temporarily and replace it with SMARTDrive, using one of the following
  336. procedures.
  337.  
  338. If You Are Using MS-DOS 5.0
  339. ---------------------------
  340.  
  341. If you are running MS-DOS 5.0, do the following:
  342.  
  343.   NOTE: If you are running Microsoft Windows operating system version
  344.   3.1, see the next section, "If You Are Using Windows 3.1, MS-DOS
  345.   6.0, or MS-DOS 6.2."
  346.  
  347. 1. Type the following command at the MS-DOS command prompt and press
  348.    ENTER to copy your original CONFIG.SYS file to the test disk you
  349.    created in the previous procedure:
  350.  
  351.       copy c:\config.sys a:
  352.       
  353.     NOTE: If you are unable to access drive C, restart your computer
  354.     from the hard disk before performing this step by removing the
  355.     floppy disk from drive A and pressing CTRL+ALT+DEL.
  356.    
  357. 2. Use a text editor to edit the CONFIG.SYS file on the floppy disk in
  358.    drive A. If you want to use MS-DOS Editor, type the following at
  359.    the MS-DOS command prompt and press ENTER:
  360.  
  361.       edit a:\config.sys
  362.  
  363. 3. Add the following line to the CONFIG.SYS file immediately after the
  364.    command that loads HIMEM.SYS:
  365.       
  366.       device=c:\dos\smartdrv.sys /b+
  367.  
  368. 4. Delete any other lines that load SMARTDRV.SYS or other disk-caching
  369.    programs.
  370.  
  371. 5. Save the CONFIG.SYS file. If you're using MS-DOS Editor, choose
  372.    Exit from the File menu. When MS-DOS Editor displays a dialog box
  373.    prompting you to save your file, choose the Yes button or press
  374.    ENTER.
  375.  
  376. 6. With the floppy disk in drive A, restart your computer by pressing
  377.    CTRL+ALT+DEL. If your computer works properly now, keep this
  378.    command in your CONFIG.SYS file. Copy the test CONFIG.SYS file from
  379.    your floppy disk to your hard disk by doing the following:
  380.       
  381.    a. Make a backup copy of your old CONFIG.SYS file by typing the
  382.       following:
  383.    
  384.          ren c:\config.sys config.bak
  385.       
  386.    b. Copy the CONFIG.SYS file from the floppy disk in drive A to your
  387.       hard disk by typing the following:
  388.    
  389.          copy a:\config.sys c:\
  390.          
  391.        NOTE: If you usually use a different disk-caching program, it
  392.        may not be working properly with EMM386.EXE. Leave SMARTDrive
  393.        in your CONFIG.SYS file for now, and contact the manufacturer
  394.        of your other disk-caching program for more information about
  395.        using it with EMM386.EXE.
  396.          
  397. 7. If your computer still hangs, continue to the procedure "Make Sure
  398.    Your Programs and Device Drivers Function Correctly in Upper
  399.    Memory." (Do not delete the command you just added to your
  400.    CONFIG.SYS file. There may be an additional problem that is causing
  401.    your computer to hang.)
  402.  
  403. If You Are Using Windows 3.1, MS-DOS 6.0, or MS-DOS 6.2
  404. -------------------------------------------------------
  405.  
  406. There is a new version of SMARTDrive in Windows 3.1, MS-DOS 6.0, and
  407. MS-DOS 6.2. Its filename is SMARTDRV.EXE (not SMARTDRV.SYS), and it
  408. loads from both the AUTOEXEC.BAT and CONFIG.SYS files. To load
  409. SMARTDrive, do the following:
  410.  
  411. 1. Copy your original AUTOEXEC.BAT and CONFIG.SYS files to the test
  412.    disk you created in the procedure "Make Sure HIMEM.SYS and
  413.    EMM386.EXE Are Functioning Properly." You can do this by typing the
  414.    following at the MS-DOS command prompt, pressing ENTER after each
  415.    line:
  416.  
  417.       copy c:\autoexec.bat a:\
  418.       copy c:\config.sys a:\
  419.  
  420. 2. Use a text editor to open the test AUTOEXEC.BAT file. If you want
  421.    to use MS-DOS Editor, type the following at the MS-DOS command
  422.    prompt and press ENTER:
  423.  
  424.       edit a:\autoexec.bat
  425.  
  426. 3. Make sure SMARTDRV.EXE is in the test AUTOEXEC.BAT file and remove
  427.    any other disk-caching programs you find. If you have Windows 3.1
  428.    and MS-DOS 5.0 or earlier, the SMARTDrive command line should
  429.    resemble the following:
  430.       
  431.       c:\windows\smartdrv.exe
  432.    
  433.    If you have MS-DOS 6.0 or 6.2, the command line should resemble the
  434.    following
  435.  
  436.       c:\dos\smartdrv.exe
  437.  
  438. 4. Save the test AUTOEXEC.BAT file. If you are using MS-DOS Editor,
  439.    choose Exit from the File menu. When MS-DOS Editor displays a
  440.    dialog box prompting you to save your file, choose the Yes button
  441.    or press ENTER.
  442.  
  443. 5. Open the test CONFIG.SYS file in a text editor. If you want to use
  444.    MS-DOS Editor, type the following at the MS-DOS command prompt and
  445.    press ENTER:
  446.  
  447.       edit a:\config.sys
  448.  
  449. 6. Remove any disk-caching programs you find except SMARTDRV.EXE. If
  450.    you have Windows 3.1 and MS-DOS 5.0 or earlier, modify the
  451.    SMARTDrive command line to resemble the following:
  452.  
  453.       device=c:\windows\smartdrv.exe /double_buffer+
  454.  
  455.    If you have MS-DOS 6.0 or 6.2, the command line should resemble the
  456.    following:
  457.  
  458.       device=c:\dos\smartdrv.exe /double_buffer+
  459.  
  460. 7. Save the test CONFIG.SYS file. If you are using MS-DOS Editor,
  461.    choose Exit from the File menu. When MS-DOS Editor displays a
  462.    dialog box prompting you to save your file, choose the Yes button
  463.    or press ENTER.
  464.  
  465. 8. With the floppy disk containing the test CONFIG.SYS file still in
  466.    drive A, restart your computer by pressing CTRL+ALT+DEL. If your
  467.    computer now works properly, keep the test AUTOEXEC.BAT and
  468.    CONFIG.SYS files. Copy them both from the floppy disk in drive A to
  469.    your hard disk by following the steps below. If your computer still
  470.    hangs, continue with the procedure "Make Sure Your Programs and
  471.    Device Drivers Function Correctly in Upper Memory." (Do not delete
  472.    the changes you just made. There may be an additional problem that
  473.    is causing your computer to hang.)
  474.       
  475.    a. Make a backup copy of your old AUTOEXEC.BAT and CONFIG.SYS files
  476.       by typing the following commands at the MS-DOS command prompt
  477.       and pressing ENTER after each line:
  478.    
  479.          ren c:\config.sys config.bak
  480.          ren c:\autoexec.bat autoexec.bak
  481.       
  482.    b. Copy the files from the floppy disk in drive A to your hard disk
  483.       by typing the following commands at the MS-DOS command prompt
  484.       and pressing ENTER after each line:
  485.    
  486.          copy a:\config.sys c:\
  487.          copy a:\autoexec.bat c:\
  488.    
  489.        NOTE: If you usually use a different disk-caching program, it
  490.        may not be working properly with EMM386.EXE. Leave SMARTDrive
  491.        installed as it is now, and contact the manufacturer of your
  492.        other disk-caching program for more information about using it
  493.        with EMM386.EXE.
  494.  
  495. MAKE SURE YOUR PROGRAMS AND DEVICE DRIVERS
  496. ==========================================
  497. FUNCTION CORRECTLY IN UPPER MEMORY
  498. ==================================
  499.  
  500.   NOTE: If you load into upper memory only programs and device drivers
  501.   that come with MS-DOS, you can skip this procedure.
  502.  
  503. If your computer hangs only when you load a specific driver or
  504. terminate-and-stay-resident (TSR) program with the DEVICEHIGH or
  505. LOADHIGH (or LH) command, you may not be able to load that particular
  506. device driver or TSR into an upper memory block (UMB). MS-DOS device
  507. drivers and memory-resident programs should load into UMBs without any
  508. problems. (EMM386.EXE and HIMEM.SYS cannot load high and, depending on
  509. your hardware, hard disk device drivers and disk caches may not load
  510. high either.)
  511.  
  512. If you suspect that loading a device driver or TSR program into upper
  513. memory is causing the problem, you can load it into conventional (low)
  514. memory instead of upper memory.
  515.  
  516. Device Drivers
  517. --------------
  518.    
  519. If you suspect a device driver is causing your computer to hang, do
  520. the following:
  521.    
  522. 1. Use a text editor to edit the CONFIG.SYS file on the floppy disk
  523.    you created in the procedure "Determine if Your Disk-Caching
  524.    Program Needs to Be Loaded into Conventional Memory." If you want
  525.    to use MS-DOS Editor, type the following at the MS-DOS command
  526.    prompt and press ENTER:
  527.  
  528.       edit a:\config.sys
  529.    
  530. 2. Find the command that loads the device driver causing the problem.
  531.    It should begin with a DEVICEHIGH command
  532.  
  533.       devicehigh=c:\<directory>\driver.sys
  534.  
  535.    where <directory> is the directory where DRIVER.SYS currently
  536.    resides. For example, if your DRIVER.SYS file is located in the
  537.    DRIVERS directory, the DEVICEHIGH command should resemble the
  538.    following:
  539.  
  540.       devicehigh=c:\drivers\driver.sys
  541.  
  542. 3. Replace the DEVICEHIGH command with DEVICE so that the device is
  543.    loaded into conventional memory. (You may also have to remove a
  544.    SIZE switch.) For example, you would change this command
  545.  
  546.       devicehigh size=39e0 c:\drivers\mouse.sys
  547.       
  548.    to look like this:
  549.    
  550.       device=c:\drivers\mouse.sys
  551.    
  552. 4. Save your CONFIG.SYS file. If you're using MS-DOS Editor, choose
  553.    Exit from the File menu. When MS-DOS Editor displays a dialog box
  554.    prompting you to save your file, choose the Yes button or press
  555.    ENTER.
  556.       
  557. 5. Restart your computer by pressing CTRL+ALT+DEL. If loading the
  558.    device driver with the DEVICEHIGH command was causing the problem,
  559.    your computer should work normally now. Copy the CONFIG.SYS file
  560.    from the floppy disk in drive A to your startup drive as follows:
  561.    
  562.    a. Make a backup copy of your old CONFIG.SYS file by typing the
  563.       following:
  564.    
  565.          ren c:\config.sys config.bak
  566.    
  567.    b. Copy the CONFIG.SYS file from the floppy disk in drive A to your
  568.       startup drive by typing the following:
  569.    
  570.          copy a:\config.sys c:\
  571.    
  572. 6. If your computer still hangs, continue loading device drivers into
  573.    conventional memory by following steps 1 - 4 until you find the
  574.    device driver that is causing the problem. If you load all your
  575.    device drivers into conventional memory and your computer still
  576.    hangs, continue to the next procedure.
  577.    
  578. TSR Programs
  579. ------------
  580.    
  581. If you suspect a TSR program is causing the problem, edit your
  582. AUTOEXEC.BAT file as follows:
  583.    
  584. 1. Copy the AUTOEXEC.BAT file from your startup drive to the floppy
  585.    disk in drive A by typing the following at the MS-DOS command
  586.    prompt and pressing ENTER:
  587.  
  588.       copy c:\autoexec.bat a:\
  589.  
  590. 2. Use a text editor to edit the AUTOEXEC.BAT file. If you want to use
  591.    MS-DOS Editor, type the following command:
  592.  
  593.       edit a:\autoexec.bat
  594.    
  595. 3. Read your AUTOEXEC.BAT file and find the command where the problem
  596.    occurs. It should begin with a LOADHIGH or LH command. For example,
  597.    if your computer hangs after loading MYTSR.COM into upper memory,
  598.    you would look for one of these commands:
  599.  
  600.       loadhigh c:\mytsr.com
  601.    
  602.       -or-
  603.    
  604.       lh c:\mytsr.com
  605.       
  606. 4. Remove the LOADHIGH or LH command so that the program loads into
  607.    conventional memory. For example, you would change either of the
  608.    above commands to the following:
  609.  
  610.       c:\mytsr.com
  611.  
  612. 5. Save your AUTOEXEC.BAT file. If you're using MS-DOS Editor, choose
  613.    Exit from the File menu. When MS-DOS Editor displays a dialog box
  614.    prompting you to save your file, choose the Yes button or press
  615.    ENTER.
  616.       
  617. 6. Restart your computer by pressing CTRL+ALT+DEL. If loading the
  618.    program with the LOADHIGH or LH command was causing the problem,
  619.    your computer should work normally now. Copy the AUTOEXEC.BAT file
  620.    from the floppy disk in drive A to your startup drive as follows:
  621.    
  622.    a. Make a backup copy of your old AUTOEXEC.BAT file by typing the
  623.       following:
  624.    
  625.          ren c:\autoexec.bat autoexec.bak
  626.       
  627.    b. Copy the AUTOEXEC.BAT file from the floppy disk in drive A to
  628.       your startup drive by typing the following:
  629.    
  630.          copy a:\autoexec.bat c:\
  631.    
  632.    If your computer still hangs, try to determine if it hangs after
  633.    loading the same program as before. If it hangs after the same
  634.    program, continue to the next procedure. If your computer hangs
  635.    when loading a different program, continue removing LOADHIGH
  636.    commands using steps 1 - 4.
  637.  
  638. MAKE SURE EMM386.EXE ISN'T USING THE SAME
  639. =========================================
  640. MEMORY AS ANOTHER PROGRAM OR DEVICE DRIVER
  641. ==========================================
  642.    
  643. If none of the previous procedures have helped and your computer still
  644. hangs, EMM386.EXE may be using the same memory area as another
  645. program, device driver, or hardware adapter. For example, this
  646. conflict could occur when you install a network interface card (NIC).
  647.  
  648. At this point, experiment with the EMM386 command to determine which
  649. memory addresses are being used by the other programs or device
  650. drivers. You can also contact the manufacturer of the hardware device
  651. to help determine the problem.
  652.  
  653. If you think you have an adapter or program that is conflicting with
  654. EMM386.EXE and you want to try to solve the problem yourself, check
  655. the documentation that came with it to see what address space the
  656. adapter or program uses. If the conflict occurs over a network, check
  657. with your network administrator to find out what memory addresses are
  658. in use. You can then use the X= switch when you load EMM386.EXE to
  659. prevent EMM386.EXE from using those addresses.
  660.  
  661. For example, if an NIC uses the D800-DFFF memory address range, add
  662. the X=D800-DFFF switch to the end of the device command that loads
  663. EMM386.EXE in your CONFIG.SYS file. If your original EMM386 command
  664. looked like this
  665.  
  666.       device=c:\dos\emm386.exe noems
  667.    
  668. modify it to look like this:
  669.  
  670.       device=c:\dos\emm386.exe noems x=d800-dfff
  671.    
  672. If you want help with this procedure, or with finding out which memory
  673. address is causing the problem, contact Microsoft Product Support
  674. Services.
  675.                                    
  676.                                    
  677.                           RELATED INFORMATION
  678.                           ===================
  679.  
  680. For more information about EMM386.EXE, see pages 287 - 290 and 605 -
  681. 609 of the Microsoft MS-DOS "User's Guide and Reference" for version
  682. 5.0 or, if you have MS-DOS 6.0 or 6.2, see MS-DOS Help (by typing HELP
  683. EMM386.EXE at any MS-DOS command prompt).